package day02;

public class Operator2Demo {
    public static void main(String[] args) {
        boolean flag = true;
        System.out.println(2>1 & flag & 3>2);
        System.out.println(2>1 && flag);
        int i = 1;
        System.out.println(1>2 && (++i)>0);
        System.out.println(i);
        System.out.println(10 & 8);
        System.out.println(10 | 8);
        System.out.println(2 << 2);
        System.out.println(-10>>>2);
        System.out.println(-10>>2);
    }
}
